<template>
  <keep-alive>
    <component :is="type" v-on="$listeners" v-bind="$attrs"> </component>
  </keep-alive>
</template>

<script>
import breeding from "./breeding";
import pork from "./pork";
export default {
  components: {
    breeding,
    pork,
  },
  props: {
    type: {
      type: String,
      default: breeding,
    },
  },
};
</script>

<style></style>
